from apps.common.base.views import *
from apps.merchant.item.serializers import *
from apps.merchant.item.dao import ItemDao
from apps.merchant.item.filters import ItemFilter
from apps.pay.order.countAward.countProfit import countProfitFun, countProfitForFranchiseeFun

class BaseItemViewSet(BaseViewSet):
    serializer_class = ItemModelSerializer
    filter_class = ItemFilter
    DAO_CLASS = ItemDao